package com.itheimma.service.db;

import com.itheima.domain.db.Notification;

public interface NotificationService {

    //根据用户id查询notification，从token中取
    Notification findById(Long userId);

    //新增
    void save(Notification notification);

    //更新
    void update(Notification notification);
}
